package backend.majiong.yaku.yakuman;

import backend.MainGame;
import backend.majiong.Player;
import backend.majiong.yaku.AbstractYaku;
import backend.majiong.yaku.HandCombo;


public class Tenhou extends AbstractYaku {

    @Override
    public boolean checkYaku(Player player, HandCombo combo, MainGame mainGame) {
        return combo.getSpecialYakuFlag().isTianHe();
    }

    @Override
    public String getYakuName() {
        return "天和";
    }

    @Override
    public Integer getYakuNum(boolean isMenQing) {
        return 13;
    }


}
